package exercise;

public class PrintBuzz implements Runnable{
	private FizzBuzz fb;
	
	public PrintBuzz(FizzBuzz fb) {
		super();
		this.fb = fb;
	}

	@Override
	public void run() {
		try {
			fb.buzz();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
	
}
